rust: Switch to 2021 edition
authorColin Walters <walters@verbum.org>
Thu, 9 Jun 2022 19:55:41 +0000 (15:55 -0400)
committerColin Walters <walters@verbum.org>
Thu, 9 Jun 2022 19:55:41 +0000 (15:55 -0400)
commit99c122d219002a638624c7c580c946a5b0be904a
treec288d2ab1fc70b1f68c749f2b47b58631696a89e
parenta6ecd96cda47c6bae9a8f6c4e72843ea425aa534
rust: Switch to 2021 edition

No real changes.

```
$ cargo fix --edition
note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
This may cause some dependencies to be built with fewer features enabled than previously.
More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
When building the following dependencies, the given features will no longer be used:

  libc v0.2.126 removed features: extra_traits

The following differences only apply when building with dev-dependencies:

  getrandom v0.2.6 removed features: std
```

which looks OK to me.
Cargo.toml
rust-bindings/sys/Cargo.toml
tests/inst/Cargo.toml